Page({

  /**
   * 页面的初始数据
   */
  data: {
    menuInfo: {},
    str:[
      {id:'1',name:'江苏省社会保险权益记录单(参保人员)打印',src:'/images/more/EquityForm/EquityForm1.png'},
      {id:'2',name:'江苏省企业职工基本养老保险权益记录单(参保人员)打印',src:'/images/more/EquityForm/EquityForm2.png'},
      {id:'3',name:'江苏省企业职工基本养老保险权益记录单(离退休人员)打印',src:'/images/more/EquityForm/EquityForm3.png'},
      {id:'4',name:'个人权益单打印',src:'/images/more/EquityForm/EquityForm4.png'},
      {id:'5',name:'江苏省社会保险权益记录单打印',src:'/images/more/EquityForm/EquityForm5.png',url:'/pages/SocialSecurityCard/FormList/FormList'},
      {id:'6',name:'江苏省社会保险权益记录单打印',src:'/images/more/EquityForm/EquityForm6.png',url:'/pages/SocialSecurityCard/FormList/FormList'},
      {id:'7',name:'企业退休人员养老保险待遇证明打印',src:'/images/more/EquityForm/EquityForm5.png',url:'/pages/SocialSecurityCard/FormList/FormList'},
    ]
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad(options) {

  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady() {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow() {
    //设置头部字体与导航栏对齐
    const top= getApp()
    this.setData({
      menuInfo:top.geibartop.menuInfo
    })
  },
  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom() {

  },
  //跳转页面
  jumpPage(e) {
    console.log( e.currentTarget.dataset);
    wx.navigateTo({
      url: e.currentTarget.dataset.url
    })
  },
  //返回上一级
  backPage(){
    wx.navigateBack({
      delta: 1
    });    
  },
})